package com.ficus.road.maintain.core.model.zh;

import com.ficus.road.maintain.core.model.RoadTypeEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * @author xiawen yang
 * @date 2022/4/15 下午2:13
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class RoadIntactStatistic {

    private List<RoadIntact> direct;

    private List<RoadIntact> road;

    @Data
    @Builder
    @AllArgsConstructor
    @NoArgsConstructor
    public static class RoadIntact {
        private String id;

        private String roadId;

        private String roadName;

        private String unitName;

        private Double rate;

        private Integer count;

        private Double width;

        private Double realWorkLength;
        private Double length;

        private RoadTypeEnum roadType;

        private String date;

        private Date modificationTime;
    }
}
